package com.ctshk.rpc.order.custom.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 折扣记录
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-02-22
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_customized_order_discount")
@ApiModel(value="CustomizedOrderDiscount对象", description="折扣记录")
public class CustomizedOrderDiscount extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属订单")
    private Long orderId;

    @ApiModelProperty(value = "游客ID")
    private Long touristId;

    @ApiModelProperty(value = "审批状态(2 审批中 3 审批通过 4 审批不通过)")
    private Integer checkStatus;

    @ApiModelProperty(value = "审批ID")
    private Long approvalId;

    @ApiModelProperty(value = "折扣前应收金额")
    private BigDecimal beforeAmount;

    @ApiModelProperty(value = "折扣金额")
    private BigDecimal discountAmount;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
